package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.PickGoodsChannel;
import com.ecoolex.ying.space.entity.PickGoodsChannelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface PickGoodsChannelMapper {
    long countByExample(PickGoodsChannelExample example);

    int deleteByExample(PickGoodsChannelExample example);

    int deleteByPrimaryKey(Integer channelId);

    int insert(PickGoodsChannel record);

    int insertSelective(@Param("record") PickGoodsChannel record, @Param("selective") PickGoodsChannel.Column ... selective);

    PickGoodsChannel selectOneByExample(PickGoodsChannelExample example);

    List<PickGoodsChannel> selectByExample(PickGoodsChannelExample example);

    PickGoodsChannel selectByPrimaryKey(Integer channelId);

    PickGoodsChannel selectByPrimaryKeyWithLogicalDelete(@Param("channelId") Integer channelId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") PickGoodsChannel record, @Param("example") PickGoodsChannelExample example, @Param("selective") PickGoodsChannel.Column ... selective);

    int updateByExample(@Param("record") PickGoodsChannel record, @Param("example") PickGoodsChannelExample example);

    int updateByPrimaryKeySelective(@Param("record") PickGoodsChannel record, @Param("selective") PickGoodsChannel.Column ... selective);

    int updateByPrimaryKey(PickGoodsChannel record);

    int batchInsert(@Param("list") List<PickGoodsChannel> list);

    int batchInsertSelective(@Param("list") List<PickGoodsChannel> list, @Param("selective") PickGoodsChannel.Column ... selective);

    int logicalDeleteByExample(@Param("example") PickGoodsChannelExample example);

    int logicalDeleteByPrimaryKey(Integer channelId);
}